﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Xml;
using Windows.UI.Xaml.Media;

namespace NSR.Model
{
    [DataContract]
    public class ArticleInfo
    {
        private int _ArticleID;

        [DataMember]
        public int ArticleID
        {
            get { return _ArticleID; }
            set { _ArticleID = value; }
        }

        private string _ArticleName;

        [DataMember]
        public string ArticleName
        {
            get { return _ArticleName; }
            set { _ArticleName = value; }
        }

        private string _Author;

        [DataMember]
        public string Author
        {
            get { return _Author; }
            set { _Author = value; }
        }

        private string _LastChapter;

        [DataMember]
        public string LastChapter
        {
            get { return _LastChapter; }
            set { _LastChapter = value; }
        }

        //public int LastChapterID { get; set; }

        //public string Intro { get; set; }

        ////public ImageSource Cover { get; set; }

        //public string CoverLink { get; set; }
    }

    //public class ArticleListInfo
    //{
    //    public int ListID { get; set; }

    //    public List<ArticleInfo> ArticleList { get; set; }
    //}
}
